$def with(msg = None, post_office = None)
$:frender.header(title = '找回密码', bignav = True, css = ['default/css/lite.css'])

<script type="text/javascript">
    $$(function () {
        var form = $$('#forgot-form');
        form.validator({'message': false});

        $$('.submit').click(function () {
            form.submit();
            return false;
        });
    });
</script>
<div id="content">
    <div class="layer layer-full">
        <div class="tube">
            <div class="block">
                
                
                <h1 class="tit">找回密码</h1>
                <!-- 注册寻宝图帐号 -->
                <div class="dymswitch-b com-box notopborder cur" style="display: block; border-top:1px solid #ebebeb;">
                    <div class="for-cont clr" style="height:144px\0;margin-bottom:20px\0;">
                        <!-- 左侧 -->
                        <div class="cnt-full clr">
                            <div class="loreg-t">
                            </div>
                            $if post_office:
                                <div class="loreg-l center" style="width:100%;">
                                    <p class="big_fnt"><img style="display:inline;" class="middle" src="$config.STATIC_PREFIX/images/common/valid_24.png" /><span>一封重置密码的邮件已发送到你的邮箱中，请及时查收。</span></p>
                                    <p class="loreg-suc-btn"><a class="eml_rss_btn" href="http://$:post_office"><b>立即查收邮件</b></a></p>

                                    
                                </div>
                            $else:
                                <div class="loreg-l">
                                    <form id="forgot-form" name="wei-form" method="post">
                                        <!-- 邮箱 -->
                                        <dl>
                                            <dt><label>邮箱</label></dt>
                                            <dd>
                                                <input class="big_inp ipt mr8 l" type="email" id="email" autocomplete="off" name="email" required="required" />
                                            </dd>
                                            <dd class="for-error" id="err_email">
                                                $if msg:
                                                    <p style="color:#cc0000;">$:msg</p>
                                                $else:
                                                    <p>请输入您注册时绑定的邮箱，如：hi@xunbaotu.com。</p>
                                            </dd>
                                        </dl>
                                        
                                        <!-- 按钮 -->
                                        <div class="loreg-btn clr">
                                                <a class="eml_rss_btn submit" href="javascript:;"><b>重置</b></a>
                                        </div>
                                    
                                    </form>
                                </div>

                        </div>
                        
                    </div>
                </div>
                <!-- 注册寻宝图帐号 -->
            </div>
        </div> 
    </div>
</div>

$:frender.footer(bignav = True)
